package org.mat.ipaas.ucenter.service.api.message;

import com.alibaba.fastjson.JSONObject;
import org.mat.framework.lang.dto.MatApiResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * TestSocketController
 */
@FeignClient(name = "mat-ipaas-ucenter-service",contextId = "test-socket-rest-api")
public interface TestSocketRestAPI {

    @PostMapping("/sys/socketTest/sendAll")
    MatApiResponse<String> sendAll(@RequestBody JSONObject jsonObject);

	@PostMapping("/sys/socketTest/sendUser")
    MatApiResponse<String> sendUser(@RequestBody JSONObject jsonObject);

}